﻿/*+===================================================================
File:      GameOverState.h

Summary:   Định nghĩa scene Game Over
===================================================================+*/

#pragma once

#include "ResourcesManager.h"
#include "MenuState.h"
#include "EndState.h"
#include "GameStateManager.h"
#include "Global.h"
#include "DSUtil.h"
#include "GameInfo.h"
#include "Input.h"

class CGameOverState : public CBaseGameState
{
private:
	float m_fTwinkleTime;
	float m_fTimeEnd;
	bool m_bTwinkle;
	CTexture* m_pScore;
	CTexture* m_pChooseButton;
	CSound* m_pSound;
	D3DXVECTOR2 m_ButtonPos;
	bool m_bContinue;
public:
	CGameOverState();
	~CGameOverState();
	void Init();
	void Update(float timeFrame);
	void Render();
	void End();
};